/*
 * SimpleTime.java
 *
 * Created on Oct 12, 2007, 8:36:09 PM
 *
 * Copyright (c) October 14, 2007 by Dean Del Ponte
 * http://www.sourceseed.org
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published
 * by  the Free Software Foundation; either version 3 of the License or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this program; see the file COPYING.TXT.  If not, write to
 * the Free Software Foundation Inc., 59 Temple Place - Suite 330,
 * Boston, MA  02111-1307 USA
 */

package org.sourceseed.tools.backup.backThatThingUp;

/**
 * Represents time broken into hour-minute-second
 *
 * @author Dean Del Ponte
 */
public class SimpleTime {
    private int hour;
    private int minute;
    private int second;

    public SimpleTime() {
    }

    /**
     * 
     * @param hour
     * @param minute
     * @param second
     */
    public SimpleTime(int hour, int minute, int second) {
        this.hour = hour;
        this.minute = minute;
        this.second = second;
    }
    
    /**
     * 
     * @return Hour as int
     */
    public int getHour() {
        return hour;
    }

    /**
     * 
     * @param hour
     */
    public void setHour(int hour) {
        this.hour = hour;
    }

    /**
     * 
     * @return
     */
    public int getMinute() {
        return minute;
    }

    /**
     * 
     * @param minute
     */
    public void setMinute(int minute) {
        this.minute = minute;
    }

    /**
     * 
     * @return
     */
    public int getSecond() {
        return second;
    }

    /**
     * 
     * @param second
     */
    public void setSecond(int second) {
        this.second = second;
    }
}
